export interface ISelectOptions {
  value: string | number | null;
  label: string;
}

export const EventNameOptions:ISelectOptions[] = [
  { value: 'active', label: '选中' },
  { value: 'inactive', label: '取消选中' },
  { value: 'click', label: '单击' },
  { value: 'dblclick', label: '双击' },
  { value: 'enter', label: '鼠标进入' },
  { value: 'leave', label: '鼠标离开' },
  { value: 'mousedown', label: '鼠标按下' },
  { value: 'mouseup', label: '鼠标抬起' },
  { value: 'valueUpdate', label: '值变化' },
  // { value: 'message', label: '' },
  // { value: 'contextmenu', label: '' },
  // { value: 'input', label: '' },
  // { value: 'change', label: '' },
];

export const EventActionOptions:ISelectOptions[] = [
  // { value: 0, label: '打开链接' },
  // { value: 1, label: '更改属性' },
  // { value: 2, label: '执行动画' },
  // { value: 3, label: '暂停动画' },
  // { value: 4, label: '停止动画' },
  { value: 5, label: '执行JS代码' },
  { value: 6, label: '执行全局函数' },
  // { value: 7, label: '发送消息' },
  // { value: 8, label: '播放视频' },
  // { value: 9, label: '暂停视频' },
  // { value: 10, label: '停止视频' },
  // { value: 11, label: '发送图元数据' },
  // { value: 12, label: '发送绑定变量' },
];

export const EventTriggerConditionOptions:ISelectOptions[] = [
  { value: null, label: '无' },
  { value: "comparison", label: '关系运算' },
  { value: "code1", label: '代码1' },
  { value: "code2", label: '代码2' },
  { value: "custom", label: '自定义代码判断' },
];


export const topologyTypeOptions:ISelectOptions[] = [
  { value: "2D", label: '2D' },
  { value: "3D", label: '3D' },
];